import React, { Component } from 'react';
import InspectionHistoryTable from './components/InspectionHistoryTable';
import './index.scss';
import { minHeight } from "../../conf/config";

export default class InspectionHistoryList extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    return (
      <div className="inspection-history-list" style={{ minHeight: `${minHeight}px` }}>
        {/* 适用于搜索过滤的表格组合场景 */}
        {/*todo: 如果有scrollbar的出现，会导致右侧padding从视觉上看上去更大了，变得不太好看*/}
        <InspectionHistoryTable limit={6} />
      </div>
    );
  }
}
